package com.gulimall.api.feign;

import com.gulimall.common.core.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gulimall-third-party")
public interface ThirdPartyClient {
    @PostMapping("/third-party/sendSms")
    Result sendSms(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
